package com.gc.business.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gc.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 库存管理表 gc_Inventory_info
 * 
 * @author hruiyan
 * @date 2020-11-10
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("gc_Inventory_info")
public class InventoryInfo extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long inventoryId;

    private Long attrId;
	
    /**
    * 单号
    */
    private String orderNo;
    /**
    * 物品名称
    */
    private String itemName;
    /**
    * 数量
    */
    private String itemNum;
    /**
    * 金额
    */
    private String itemSum;
    /**
    * 经办人
    */
    private String itemAgent;
    /**
    * 入库时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private String storageTime;
    /**
    * 操作时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
}
